package com.xiaoshuidi.cloud.module.member.controller.app.activities.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "租客APP - 活动分页 Request VO")
@Data
@ToString(callSuper = true)
public class ActivitiesListVO implements Serializable {

    private static final long serialVersionUID = -507497969135087004L;

    @Schema(description = "主键")
    private Long id;

    @Schema(description = "活动名称")
    private String name;

    @Schema(description = "活动主图")
    private String picture;

    @Schema(description = "1-线上活动,2-线下活动")
    private Integer onOff;

    @Schema(description = "活动地址")
    private String address;

    @Schema(description = "活动开始时间")
    private LocalDateTime beginTime;

    @Schema(description = "活动结束时间")
    private LocalDateTime endTime;

    @Schema(description = "活动报名开始时间")
    private LocalDateTime enrollBegin;

    @Schema(description = "活动报名结束时间")
    private LocalDateTime enrollEnd;

    @Schema(description = "活动人数")
    private Integer num;

    @Schema(description = "已活动人数")
    private Integer enrollNum;

    @Schema(description = "活动项名称")
    private List<String> fillItemList;

    @Schema(description = "详细描述")
    private String details;

    @Schema(description = "活动状态")
    private Integer status;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "权重")
    private Integer weight;

    @Schema(description = "奖励积分")
    private Integer bonusPoints;

//1未生效2.已生效3已失效
    @Schema(description = "活动状态")
    private Integer activityStatus;

    @Schema(description = "是否能报名 true 能")
    private boolean enrollOrNot;
}
